package sctu.edu.java.year2016.team05.xionglianjin.day20160605.Chapter10_3;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by lianjin on 2016/6/6.
 */
public class Test {
    public static void main(String[] args) {
        Map<String,String> map=new HashMap<>();
        Delete a=new Delete("001","壹");
        Delete a0=new Delete("002","贰");
        Delete a1=new Delete("003","叁");
        Delete a2=new Delete("004","肆");
        Delete a3=new Delete("005","伍");
        map.put(a.getId(),a.getName());
        map.put(a0.getId(),a0.getName());
        map.put(a1.getId(),a1.getName());
        map.put(a2.getId(),a2.getName());
        map.put(a3.getId(),a3.getName());
        map.remove("005");
        System.out.println(map);
    }
}
